package chapter6.e27;
interface Inter<T>{
    public abstract void show(T t);
}
class Interimpl implements Inter<String> {
    public void show(String t) {
        System.out.println(t);
    }
}
public class E27 {
    public static void main(String[] args) {
            Inter<String> inter = new Interimpl();
            inter.show("hello");
//            inter.show(1);// 无法传入非string类型数据
    }
}
